package top.kangyaocoding.ecommerce.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;
import top.kangyaocoding.ecommerce.po.UserClusterFeatures;

import java.util.List;

/**
 * 描述:
 *
 * @author K·Herbert
 * @since 2025-02-16 下午3:58
 */
@Mapper
public interface IUserClusterFeaturesDao {
    @Select("SELECT * FROM user_cluster_features")
    @Results({
            @Result(property = "clusterId", column = "cluster_id"),
            @Result(property = "clusterName", column = "cluster_name"),
            @Result(property = "featureName", column = "feature_name"),
            @Result(property = "featureValue", column = "feature_value")
    })
    List<UserClusterFeatures> findAll();
}
